// ++++++++++++++++++++++++++++++++++++++++
// 《零基础Go语言算法实战》源码
// ++++++++++++++++++++++++++++++++++++++++
// Author:廖显东（ShirDon）
// Blog:https://www.shirdon.com/
// Gitee:https://gitee.com/shirdonl/goAlgorithms.git
// Buy link :https://item.jd.com/14101229.html
// ++++++++++++++++++++++++++++++++++++++++

package main

import "fmt"

func main() {
	a := 18
	switch {
	case a < 10:
		fmt.Println("a小于10")
	case a < 20:
		fmt.Println("a小于20")
		fallthrough
	case a < 30:
		fmt.Println("a小于30")
	}
}

//$ go run goroutine4.go
//a小于20
//a小于30
